﻿using System;

using Adaptive.Agrona;
using Unity.Commons.Client.Offline;

namespace Unity.Debug
{
    public class ConsoleOfflineHandler : IOfflineHandler
    {
        public void onAction(IDirectBuffer buffer, int offset, int length)
        {
            Console.WriteLine($"Processing onAction in ConsoleOfflineHandler object {this} with args:");
            Console.WriteLine($"buffer => {buffer}");
            Console.WriteLine($"offset => {offset}");
            Console.WriteLine($"length => {length}");
        }
    }
}

